$indexs: 0,1,199,200,999;
// 权重
// @each $i in $indexs {
// 	.zIndex-#{$i}{
// 		z-index: #{$i};
// 	}
// }
@for $i from 0 through 1000 {
	.zIndex-#{$i}{
		z-index: #{$i};
	}
}
// 定位
.pos{
	position: relative;
	&-relative{
		position: relative !important;
	}
	&-fixed{
		position: fixed !important;
	}
	&-sticky{
		position: sticky !important;
	}
	&-absolute{
		position: absolute !important;
	}
	&-lt{
		position: absolute;
		left: 0;
		top: 0;
	}
	&-lc{
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	&-lb{
		position: absolute;
		left: 0;
		bottom: 0;
	}
	&-ct{
		position: absolute;
		left: 50%;
		top: 0;
		transform: translateX(-50%);
	}
	&-cc{
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
	}
	&-cb{
		position: absolute;
		left: 50%;
		bottom: 0;
		transform: translateY(-50%);
	}
	&-rt{
		position: absolute;
		right: 0;
		top: 0;
	}
	&-rc{
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	&-rb{
		position: absolute;
		right: 0;
		bottom: 0;
	}
	
}
// 距离
@for $i from 0 through 1000 {
	.top-#{$i}{
		top: #{$i}rpx;
	}
	.top--#{$i}{
		top: -#{$i}rpx;
	}
	.right-#{$i}{
		right: #{$i}rpx;
	}
	.right--#{$i}{
		right: -#{$i}rpx;
	}
	.bottom-#{$i}{
		bottom: #{$i}rpx;
	}
	.bottom--#{$i}{
		bottom: -#{$i}rpx;
	}
	.left-#{$i}{
		left: #{$i}rpx;
	}
	.left--#{$i}{
		left: -#{$i}rpx;
	}
}
